//
//  HJBaseViewController.h
//  DaiChaoApp
//
//  Created by apple on 2019/2/25.
//  Copyright © 2019年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HJFMDBDataSoure.h"
@class YFNavigationBar;
@class YFEmptyView;

NS_ASSUME_NONNULL_BEGIN

@interface HJBaseViewController : UIViewController
@property (nonatomic, copy) NSString *navTitle;
@property (nonatomic, copy) NSString *leftNavImageName;
@property (nonatomic, copy) NSString *rightNavImageName;
@property (nonatomic, copy) NSString *leftNavTitle;
@property (nonatomic, copy) NSString *rightNavTitle;

@property (nonatomic, strong) YFEmptyView *tipEmptyView;

/**
 Navigation Bar
 */
@property (nonatomic, strong, nonnull) YFNavigationBar *navigaitonBar;

/**
 默认返回上级控制器，子类可重写该方法
 */
- (void)navigationBackButtonPopAction;

- (void)didClickLeftNavAction;
- (void)didClickRightNavAction;


/**
 跳转控制器
 @param classStr 控制器Class名
 */
-(void)ClasFrom:(NSString *)classStr;
@end

NS_ASSUME_NONNULL_END
